# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=py3-urllib3-secure-extra
_pyname=urllib3-secure-extra
pkgver=0.1.0
pkgrel=0
arch="noarch"
pkgdesc="Marker library to detect whether urllib3 was installed with the deprecated [secure] extra"
url="https://pypi.python.org/project/urllib3-secure-extra"
license="Apache-2.0"
depends="
	py3-urllib3
	"
makedepends="
	py3-gpep517
	py3-setuptools
	py3-wheel
	py3-flit
	"
options="!check" # No testsuite
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/u/urllib3-secure-extra/urllib3-secure-extra-$pkgver.tar.gz"
builddir="$srcdir"/$_pyname-$pkgver
subpackages="$pkgname-pyc"

build() {
	gpep517 build-wheel \
		--wheel-dir .dist \
		--output-fd 3 3>&1 >&2
}

package() {
	python3 -m installer --destdir="$pkgdir" .dist/*.whl
}

sha512sums="
151dfa2dd4e7fecea482bec0be69410c213336b95e00c900f600053dc9777618c3b9cc1c69e14f61e909ad7b785bcf391ea11c74b1b710749b70e138fbdd6de3  py3-urllib3-secure-extra-0.1.0.tar.gz
"
